import turtle
import time

def LittleHeart():
    for i in range(200):
        turtle.right(1)
        turtle.forward(2)

word="zhagnsan,I love you!"
myname="lisi"
turtle.setup(width=900, height=500)
turtle.color('red', 'pink')
turtle.pensize(3)
turtle.speed(2)
turtle.up()
turtle.hideturtle()
turtle.goto(0, -180)
turtle.showturtle()
turtle.down()
turtle.speed(2)
turtle.begin_fill()
turtle.left(140)
turtle.forward(224)
LittleHeart()
turtle.left(120)
LittleHeart()
turtle.forward(224)
turtle.end_fill()
turtle.pensize(5)
turtle.up()
turtle.hideturtle()
turtle.goto(0, 0)
turtle.showturtle()
turtle.color('#f01c1c', 'pink')
turtle.write(word, font=('Arial',26, 'normal'),align="center") 
turtle.up()
turtle.hideturtle()
time.sleep(2)
turtle.goto(0, 0)
turtle.showturtle()
turtle.color('red', 'pink')
turtle.write(word, font=('Arial',26, 'normal'),align="center") 
turtle.up()
turtle.hideturtle()
turtle.color('black', 'pink')
time.sleep(2)
turtle.goto(180, -180)
turtle.showturtle()
turtle.write(myname, font=('Arial',18, 'normal'),align="center", move=True)
turtle.hideturtle()

